package com.lean.android.adsdk

import com.lean.android.ad.core.config.AdParamsProvider
import org.koin.core.component.KoinComponent

class AdParamsProviderImpl : AdParamsProvider, KoinComponent {

    private val appId = getKoin().getProperty("appId", "")
    private val interstitialFullAd = getKoin().getProperty("interstitialFullAd", "")
    private val splashAd = getKoin().getProperty("splashAd", "")
    private val feedAd = getKoin().getProperty("feedAd", "")
    private val rewardAd = getKoin().getProperty("rewardAd", "")

    override fun getPangolinId(): String {
        return appId
    }

    override fun getSplashAdId(): String {
        return splashAd
    }

    override fun getReSplashTimeLimit(): Long {
        return 0
    }

    override fun getRewardAdId(): String {
        return rewardAd
    }

    override fun getInterstitialAdId(): String {
        return interstitialFullAd
    }

    override fun getFeedAdId(): String {
        return feedAd
    }

    override fun getFullAdId(): String {
        return interstitialFullAd
    }
}